package com.shark.uh.model.dto.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserBindDTO {
    @NotNull
    private String details;

    @NotNull
    private String type;

    @NotNull
    @Length(min = 6, max = 6)
    private String code;
}
